package org.codegallery.gaegal.service.impl;

import javax.inject.Inject;

import org.codegallery.gaegal.model.CreditCard;
import org.codegallery.gaegal.model.PizzaOrder;
import org.codegallery.gaegal.model.Receipt;
import org.codegallery.gaegal.service.BillingService;
import org.codegallery.gaegal.service.CreditCardProcessor;
import org.codegallery.gaegal.service.TransactionLog;

public class RealBillingService implements BillingService{
	  private final CreditCardProcessor processor;
	  private final TransactionLog transactionLog;

	  @Inject
	  RealBillingService(CreditCardProcessor processor, 
	      TransactionLog transactionLog) {
	    this.processor = processor;
	    this.transactionLog = transactionLog;
	  }

	  @Override
	  public Receipt chargeOrder(PizzaOrder order, CreditCard creditCard) {
		  	return new Receipt();
	  }
}
